<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>用户列表</title>
<script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">

<style>
	table {
		margin:0px auto;
		margin-top: 50px;
		width:50%;
		border-color:white;
	}
	table tr {
		line-height:30px;
		border-color:white;
	}
	table tr:FIRST-CHILD {
		background:#f2f2f2;
	}
	table tr:nth-child(even) {
		background:#d5eeeb;
	}
</style>
</head>
<body>
<nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="/blog">Blog</a>
    </div>
  </div>
</nav>
	<div style = "margin-left:320px;">
		<form action="/user">
			<input type="text" value="{{$data['keywords'] or ''}}" name="keywords" class="textbox textbox_225" placeholder="输入会员张号查询">
			<button class="group_btn" type="submit">搜索</button>
		<form>

	</div>
	<table>
	    <tr align="center">
	        <td>id</td>
	        <td>用户名</td>
	        <td>邮箱</td>
	    </tr>
	@foreach($users as $user)
	    <tr align="center" style="font-size:12px;">
	        <td>{{$user->id}}</td>
	        <td>{{$user->name}}</td>
	        <td>{{$user->email}}</td>
	    </tr>
	@endforeach
	</table>
	<div style="width:300px;margin-left:800px;">
		{!! $users->render() !!}
	</div>
</body>
</html>